﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TestPro
{
    class TestClass
    {
        public static void Main(string[] args)
        {
            Console.WriteLine("Hello World");
            Console.ReadKey();
        }
        
        public static int sampleLogical(bool x, bool y, bool z)
        {
            if (x || (y && z))
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }


        public static int sampleLogicalComb(int x, int y)
        {
            if((x>10) || (y < 10))
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }
        
        
        public static int sampleBVC(int x)
        {
            if (x > 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }
        public static int sampleBVCLessThan(int x)
        {
            if (x < 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }

        public static int sampleBVCLessThanEqual(int x)
        {
            if (x <= 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }

        public static int sampleBVCGreaterThanEqual(int x)
        {
            if (x >= 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }

        public static int sampleBVCEqual(int x)
        {
            if (x == 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }

        public static int sampleBVCNotEqual(int x)
        {
            if (x != 10)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }
    }
}
